<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
                             "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:s="http://jboss.org/schema/seam/taglib"
                template="#{theme.template}">

<ui:define name="content">
   <s:cache key="entry-#{blogEntry.id}" region="pageFragments">
      <div class="blogEntry">
         <h3 id="title">#{blogEntry.title}</h3>
         <div id="body">
            <s:formattedText value="#{blogEntry.body}"/>
         </div>
         <p>
            [Posted on&#160;
            <h:outputText value="#{blogEntry.date}">
               <f:convertDateTime timeZone="#{blog.timeZone}" locale="#{blog.locale}" type="both"/>
            </h:outputText>]
         </p>
      </div>
   </s:cache>
</ui:define>

</ui:composition>
